package com.logic.landseaserver.ws.request;

import com.logic.landseaserver.domain.PropertySignEstimation;

public class PropertySignEstimationReq {
    private Integer propertySignId;
    private String estimationResultCode;
    private String estimateName;
    private String estimateRole;
    private String comment;
    private Integer signEstimationAttachmentId;

    public String getEstimateRole() {
        return estimateRole;
    }

    public void setEstimateRole(String estimateRole) {
        this.estimateRole = estimateRole;
    }

    public String getEstimateName() {
        return estimateName;
    }

    public void setEstimateName(String estimateName) {
        this.estimateName = estimateName;
    }

    public Integer getPropertySignId() {
        return propertySignId;
    }

    public void setPropertySignId(Integer propertySignId) {
        this.propertySignId = propertySignId;
    }

    public String getEstimationResultCode() {
        return estimationResultCode;
    }

    public void setEstimationResultCode(String estimationResultCode) {
        this.estimationResultCode = estimationResultCode;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Integer getSignEstimationAttachmentId() {
        return signEstimationAttachmentId;
    }

    public void setSignEstimationAttachmentId(Integer signEstimationAttachmentId) {
        this.signEstimationAttachmentId = signEstimationAttachmentId;
    }

    public static PropertySignEstimation toPropertyPOJO(PropertySignEstimationReq req) {
        PropertySignEstimation propertySign = new PropertySignEstimation();
        propertySign.setPropertySignId(req.getPropertySignId());
        propertySign.setComment(req.getComment());
        propertySign.setEstimationResultCode(req.getEstimationResultCode());
        propertySign.setEstimationRole(req.getEstimateRole());
        propertySign.setEstimateName(req.getEstimateName());
        propertySign.setSignEstimationAttachmentId(req.getSignEstimationAttachmentId());
        return propertySign;
    }
}